package multithread.framework.tool;

/**
 * 
 * @author dailey_dai
 * 
 */
public interface IGenerator<T, V> {

	/**
	 * generate object
	 * @return T
	 */
	public T generate();

	/**
	 * write V to generate
	 * 
	 * @param v
	 */
	public void write(V v);

}
